package Java.BlackHorse.IO.printStream;

import java.io.PrintStream;

public class IODemo2 {
    /*
    * 打印流的应用场景
    * */
    public static void main(String[] args) {
//        创建打印流，打印到控制台
        PrintStream ps = System.out;
        ps.println("你好！");
        ps.print("Hello");
        ps.print(" World");
        ps.close();
    }
}
